package o;

import android.content.Context;
import android.text.TextUtils;
import com.huawei.appmarket.framework.widget.RoundCornerLayout;
import com.huawei.appmarket.service.store.awk.bean.SafeAppCardBean;
import com.huawei.appmarket.service.store.awk.card.SafeAppCard;
import com.huawei.appmarket.support.video.VideoPlayer;
import o.evp.b;
import o.ewm.h;
import o.ewm.j;

public class eip extends eie {
    private VideoPlayer ˏ;
    private RoundCornerLayout ॱ;

    public int ˏ() {
        return h.ˋᐨ;
    }

    public void ˋ() {
        this.ॱ = (RoundCornerLayout) this.ˊ.findViewById(j.ˉꞌ);
        this.ˏ = (VideoPlayer) this.ˊ.findViewById(j.ˊʴ);
    }

    public void ॱ(SafeAppCard safeAppCard, SafeAppCardBean safeAppCardBean, chy o_chy, Context context, int i) {
        super.ॱ(safeAppCard, safeAppCardBean, o_chy, context, i);
        ˋ(safeAppCard, safeAppCardBean, o_chy, this);
        ˋ(this.ॱ, 16.0f);
        int i2 = j.ʿˈ;
        int i3 = j.ʿʿ;
        String str = (String) this.ॱ.getTag(i2);
        String str2 = (String) this.ॱ.getTag(i3);
        String ʿॱ = safeAppCardBean.ʿॱ();
        String ʽˊ = safeAppCardBean.ʽˊ();
        if (!TextUtils.isEmpty(str) && str.equals(ʽˊ)) {
            return;
        }
        if (TextUtils.isEmpty(str2) || !str2.equals(ʿॱ)) {
            this.ॱ.setTag(i2, ʽˊ);
            this.ॱ.setTag(i3, ʿॱ);
            this.ˏ.setVideoBaseInfo(new b().ˎ(safeAppCardBean.ʼᐝ()).ˊ(safeAppCardBean.ʿॱ()).ˋ(safeAppCardBean.ʽˊ()).ˏ(safeAppCardBean.ͺˏ()).ॱ(safeAppCardBean.u_()).ʼ(safeAppCardBean.ʽᐝ()).ᐝ(safeAppCardBean.ʾॱ()).ʻ(evt.ˏ(safeAppCardBean.sp_)).ॱॱ(safeAppCardBean.ॱـ()).ॱ());
            int ॱ = azb.ॱ(null, 0);
            eqx.ˋ(ॱ, (int) (((float) ॱ) * 0.5625f), this.ˏ.ॱॱ(), safeAppCardBean.ʿॱ());
        }
    }

    public String ˊ() {
        return "";
    }
}
